use super::ref_enum::CommonEnum;

fn use_ref_enum() -> Result<i32, CommonEnum> {
    println!("use_ref_enum: runing...");
    //Ok(1)
    Err(CommonEnum::IndexError)
}

pub fn module_ref(){
    println!("module_ref: starting...");
    if use_ref_enum().is_ok(){
        println!("ref_num ok!");
    }
}
